package com.zhx.ad.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhx.ad.common.exception.AdException;
import com.zhx.ad.entity.AdUnit;
import com.zhx.ad.client.vo.*;

/**
 *describe: 
 *
 *@author zhanghaixuan
 *@date 2019/02/02
 **/
public interface IAdUnitService extends IService<AdUnit> {

	AdUnitResponse createUnit(AdUnitRequest request) throws AdException;

	AdUnitKeywordResponse createUnitKeyword(AdUnitKeywordRequest request)
			throws AdException;

	AdUnitItResponse createUnitIt(AdUnitItRequest request)
			throws AdException;

	AdUnitDistrictResponse createUnitDistrict(AdUnitDistrictRequest request)
			throws AdException;

	CreativeUnitResponse createCreativeUnit(CreativeUnitRequest request)
			throws AdException;
}
